<!--
 * @Author: your name
 * @Date: 2021-08-11 09:36:06
 * @LastEditTime: 2021-08-11 09:42:59
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \3-html&css\day08\02-display.html
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .one{
            display:inline;
            background-color: aqua;
            width:100px;
            height:100px;
        }
        .two{
            /* 行内元素 */
            display:inline;
            background-color: aqua;
            width:100px;
            height:100px;
        }
        .three{
            /* 行内块级元素，可以共享空间，同时可以指定宽高、可以包含块级元素 */
            display:inline-block;
            background-color: aqua;
            width:100px;
            height:100px;
        }
    </style>
</head>
<body>
正常的文档流结点数
块级元素《------》行内元素
<div class="one">
    第一个
</div>
<div class="two">第二个</div>
<div class="three">第三个</div>
</body>
</html>